import Index from './../components/index.vue'
import Gwcx from './../components/gwcx.vue'
import MyChild from './../components/myChild.vue'
import MyChildren from './../components/myChildren.vue'
export default {
    routes: [{
        path: '/index',
        name: 'index',
        component: Index,
        children: [{
            path: '/myChild',
            name: 'myChild',
            component: MyChild
        }, {
            path: '/myChildren',
            name: 'myChildren',
            component: MyChildren
        }]
    }, {
        path: '/gwcx',
        name: 'gwcx',
        component: Gwcx
    }, {
        path: '/',
        redirect: '/index',
        component: Index
    }]
}